using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace QuanLyThietBi.Entity
{
                

     public class TBL_ViTriEntity:AF_ORM.CORE.BaseEntity
    {
         public TBL_ViTriEntity()
         {
             tableName = "TBL_ViTri";


			 fieldInfos.Add(new FieldInfo("TBL_ViTri","MaPB","MaPB","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ViTri","MaViTri","MaViTri","string",10,true,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ViTri","MoTaViTri","MoTaViTri","string",200,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ViTri","TenViTri","TenViTri","string",200,false,true,true,false,"","",""));
         }
       //properties
                    
		 protected string m_MaPB;
		 protected string m_MaViTri;
		 protected string m_MoTaViTri;
		 protected string m_TenViTri;

		 public string MaPB

          { 
                get { 
                    return m_MaPB;}

                set{m_MaPB=value;

                    GetField("MaPB").Set();
                    GetField("MaPB").IsNull=(value == null);           
                    }
          }
		 public string MaViTri

          { 
                get { 
                    return m_MaViTri;}

                set{m_MaViTri=value;

                    GetField("MaViTri").Set();
                    GetField("MaViTri").IsNull=(value == null);           
                    }
          }
		 public string MoTaViTri

          { 
                get { 
                    return m_MoTaViTri;}

                set{m_MoTaViTri=value;

                    GetField("MoTaViTri").Set();
                    GetField("MoTaViTri").IsNull=(value == null);           
                    }
          }
		 public string TenViTri

          { 
                get { 
                    return m_TenViTri;}

                set{m_TenViTri=value;

                    GetField("TenViTri").Set();
                    GetField("TenViTri").IsNull=(value == null);           
                    }
          }

}
}
